<?php
echo $this->Html->script(array(
	'plugins/highcharts/js/highcharts',
	'plugins/highcharts/js/modules/exporting',
	'plugins/select/select2.min',
	'plugins/validationEngine/languages/jquery.validationEngine-en.js',
	'plugins/validationEngine/jquery.validationEngine.js'
		), array('inline' => false));
?>
<?php
echo $this->Form->create('Task', array(
	'class' => 'validate',
	'action' => 'task',
	'url' => $this->request->here(false),
	'type' => 'post',
	'inputDefaults' => array('label' => false, 'div' => false)));
echo $this->Form->input('Paginate.task', array('style' => 'display:none;', 'value' => '', 'id' => 'task'));
?>
<div class="page-header">
	<div class="icon">
		<span class="ico-pen-2"></span>
	</div>
	<h1>
		<?php echo __('TASK MANAGEMENT'); ?> <small>
			<small>
				<?php echo __('Danh sách liên kết công việc'); ?>
				<?php 
				if(!empty($this->request->query['url'])){
					echo '<a>'. $this->request->query['url'] .'</a>';
				}
				?>
			</small>
		</small>
	</h1>
</div>
<div class="row-fluid">
	<?php echo $this->Session->flash(); ?>
</div>
<?php
echo $this->element('Task/index');
echo $this->Form->end();
?>